package com.crm.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.crm.dao.NetFollowDao;
import com.crm.entity.Asker;
import com.crm.entity.NetFollow;
import com.crm.entity.Student;
import com.crm.entity.Users;
import com.crm.service.NetFollowService;

//跟踪表服务层的实现类
@Service
public class NetFollowServiceImpl implements NetFollowService{
	@Autowired
	private NetFollowDao netFollowDao;

	@Override
	public List<Map<String, Object>> getAllNetFollow(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return netFollowDao.getAllNetFollow(map);
	}

	@Override
	public Integer getAllNetFollowCount(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return netFollowDao.getAllNetFollowCount(map);
	}

	@Override
	public Integer addnetFollow(NetFollow netFollow) {
		// TODO Auto-generated method stub
		return netFollowDao.addnetFollow(netFollow);
	}

	@Override
	public List<Map<String, Object>> selectStudent() {
		// TODO Auto-generated method stub
		return netFollowDao.selectStudent();
	}

	@Override
	public List<Map<String, Object>> selectUser(Asker asker) {
		// TODO Auto-generated method stub
		return netFollowDao.selectUser(asker);
	}

	@Override
	public List<Map<String, Object>> selectStudentFollow(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return netFollowDao.selectStudentFollow(map);
	}

	@Override
	public Integer selectStudentFollowCount(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return netFollowDao.selectStudentFollowCount(map);
	}

}
